package com.rc.pojo.vo.adoption;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.core.handler.JacksonTypeHandler;
import com.rc.common.model.ImageModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 *  实体类。
 *
 * @author 27806
 * @since 2024-06-16
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AdoptionVO{


    private Long id;

    private String title;


    private BigDecimal price;


    private String description;

    @Column(typeHandler = JacksonTypeHandler.class)
    private List<ImageModel> imgs;

    private Long plantId;

    private BigDecimal expectedRevenue;

    private String deliveryCycle;

    private String deliveryMethod;

    private Double score;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
